stintel's blog

SLES10 LDAP authentication

Today I was working on a server running SLES10 with LDAP authentication enabled. I tried to add a local user account with home directory /dev/null, but useradd complained that this was an invalid directory. So I manually edited /etc/passwd and changed the home directory.

While editing the passwd file, I found the following line at the end:
+::::::
Since this line looked rather strange to me, I removed the line from the passwd file. Guess what happened...

Samba + CUPS + printing from Windows machine

Recently I have been migrating a Samba PDC and BDC from RHEL 4 to SLES 10 SP1. Everything went pretty well, until I started configuring the printers on the new Samba servers.

I took over both the CUPS and Samba configs, but somehow this wasn't enough for the printers to work. Both the Oce 3165 printers always printed a "Logical error" page instead of the document(s) or test page sent to the printer. After some digging, it turned out I could fix the problem by adding one simple line to the Samba configuration file:

cups options = raw

Tags: 

Topics: 

Pages

Subscribe to RSS - stintel's blog