Samba
Stories about or somehow related to Samba.
<< previous
| next >>
Page 1 of 1
Posted on 8/19/2005 11:09 am in Samba
I had to reinstall Saturn last night. The OS hard drive decided
it didn't like me anymore. It's taking forever to get it all back
up, but I'm almost there. Next step, getting Samba working again.
I had this problem before but I forget to document it properly, so I've had to figure it out again. When I tried to join the computer the Active Directory domain, it kept giving odd error messages. I'm documenting the fix this time so I don't lose it.
With FreeBSD 5.x, the default Kerberos installation doesn't work with Samba 3.x in ADS mode. You have to deinstall the original Kerberos installation by removing files from /usr/bin and /usr/sbin. Then we have to add 'NO_KERBEROS=true' into our /etc/make.conf file so that it doesn't rebuild it again. Next we have to install Kerberos from the security/krb5 port. After all of that is done, we then have to rebuild Samba so that it uses the new Kerberos installation.
Below are the files to remove the original Kerberos:
I had this problem before but I forget to document it properly, so I've had to figure it out again. When I tried to join the computer the Active Directory domain, it kept giving odd error messages. I'm documenting the fix this time so I don't lose it.
With FreeBSD 5.x, the default Kerberos installation doesn't work with Samba 3.x in ADS mode. You have to deinstall the original Kerberos installation by removing files from /usr/bin and /usr/sbin. Then we have to add 'NO_KERBEROS=true' into our /etc/make.conf file so that it doesn't rebuild it again. Next we have to install Kerberos from the security/krb5 port. After all of that is done, we then have to rebuild Samba so that it uses the new Kerberos installation.
Below are the files to remove the original Kerberos:
- rm /usr/bin/kinit
- rm /usr/bin/kdestory
- rm /usr/bin/klist
- rm /usr/bin/kpasswd
- rm /usr/bin/krb5-config
- rm /usr/bin/ksu
- rm /usr/bin/verify_krb5_conf
- rm /usr/bin/kadmin
- rm /usr/sbin/ktutil
- rm /usr/sbin/ktstash
Posted on 10/27/2004 12:18 pm in Samba
I fought the problem of getting my windows based boxes to print to my deskjet via Samba and CUPS for a few days. Monday night, I finally found the solution to my problem. My incorrect assumption had been that the windows machines would still talk to the printer in the same way. The problem was that I hadn't realized that CUPS basically turned the deskjet into a postscript printer when it was shared. CUPS wanted to translate postscript data into information for the printer and not just pass it directly. Eventually I found a proper tutorial for sharing printers this way that explained that I had to use the CUPS postscript driver for Windows, or the Adobe generic postscript driver. After setting up Samba to tell Windows clients to use the CUPS driver (a slight pain in the ass), it worked flawlessly. The windows clients now install the driver automatically and print perfectly, although they're only printing in black and white at the moment. I don't really mind though because I don't even have good color ink in the printer because I rarely ever need it.
<< previous
| next >>
Page 1 of 1



