Here you go, fresh off my print server.
I am currently still going through the Installation guide for Cups, Samba, Kerberos and PyKota as written by Ric_.
I think it's going OK although i have now run into a situation that i am a little unsure about. This is how to extract the CUPS drivers into the correct folder as mentioned here:
I am using Ubuntu 7.10. The package is in the .RPM format which this version of Ubuntu can't seem to recognise. I have downloaded alien and converted the package to a .deb package but now i am unsure as to what to do next. Can i just install the packe as normal or do i need to do this a different way?* Extract the following files from the CUPS Driver package to /usr/share/cups/drivers:
* Copy the following files from a Windows installation to /usr/share/cups/drivers:
Here you go, fresh off my print server.
Thats cool. Thanks very much.
The cups6.ppd is missing. Is this OK or is it required. I will be printing through the CUPS system from OS X as well?
OK i have moved on from the drivers thanks to Geoff.
I have now got to the point that if i try to change the ownership on the /etc/samba/drivers to the administrator:"domain admins". i get an error returned which says
chown: `administrator:domain admins': invalid group
I don't know why. When i run the wbinfo -g the groups are returned as does the getent group command. I can obtain a ticket using kinit administrator and i can list them with klist. What could be the problem?
Could it be something to do with the winbind error i have. When i run the testparm i get a winbind seperator error. The winbind error seems to do with the slash being seen as an escape character and thus removing the carriage return and placing the next line on the same line as the separator option.
I have since run a command found in the installation guide thread at the top of the *nix section:
This did not return anything. Now I'm stumped as to why as the group definitely exists. I continued reading and found ICTNUT had the same issue as i have now where wbinfo -g could not find the domain admins group either.Code:getent group | grep "Domain Admins"
But it does not state what he did to resolve the issue.
Last edited by HodgeHi; 1st July 2008 at 04:46 PM.
Did you alter /etc/nsswitch.conf to list winbind as a data source for passwd and group info?
I replaced my nsswitch with the one you posted in that stickied thread I mentioned. If its in there which I'm sure you would have done then yes it will be in mine too :-)
Last edited by HodgeHi; 2nd July 2008 at 09:09 AM.
Here is my nsswitch file:
Code:# /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the `glibc-doc' and `info' packages installed, try: # `info libc "Name Service Switch"' for information about this file. passwd: winbind compat group: winbind compat shadow: compat hosts: files dns mdns networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis
and here is my smb.conf:
Code:[global] idmap gid = 10000-40000 obey pam restrictions = yes dns proxy = no netbios name = UBUNTU printing = cups invalid users = root idmap uid = 10000-20000 workgroup = CRONEHILLS os level = 20 printcap name = cups security = ads max log size = 1000 winbind separator = \ log file = /var/log/samba/log.%m load printers = yes socket options = TCP_NODELAY encrypt passwords = true public = yes realm = CRONEHILLS.SANDWELL.SCH.UK winbind use default domain = yes wins proxy = no server string = Cups Server winbind enum users = yes password server = * winbind gid = 10000-20000 winbind enum groups = yes syslog = 0 preferred master = no panic action = /usr/share/samba/panic-action %d [printers] printable = yes writable = no path = /var/spool/samba comment = All Printers public = yes create mode = 0700 printer admin = @"domain admins" [print$] comment = Printer Drivers path = /etc/samba/drivers browseable = yes read only = no guest ok = yes write list = administrator, @"domain admins"
ok, that looks ok. Does 'wbinfo -g' work?
Yeah, i think it works OK:
Code:wbinfo -g | grep "domain admins" domain admins
and 'getent group'?
I run this and it returns:
Code:getent group | grep "domain admins" domain admins:x:10017:stopit,admin,kshilton,administrator
There are currently 1 users browsing this thread. (0 members and 1 guests)