Welcome, Register for free! or Login below:
EduGeek.net RSS Feeds Register FAQ Members Social Groups User Map Calendar Search Today's Posts Mark Forums Read

*nix

*nix forum sponsored by
*nix Forum Sponsored by Navaho

Powering the backend of many of our networks, unbeknown to many. Linux, Solaris, Unix...

Go Back   EduGeek.net Forums > Technical > *nix
Reply
 
LinkBack Thread Tools Search Thread Language
Old 12-03-2008, 02:16 PM   #31
 
Geoff's Avatar
 
Join Date: Jun 2005
Location: Fylde, Lancs, UK.
Posts: 9,839
uk uk lancashire
Thanks: 41
Thanked 217 Times in 198 Posts
Blog Entries: 1
Rep Power: 64 Geoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud of
Send a message via ICQ to Geoff Send a message via AIM to Geoff Send a message via MSN to Geoff Send a message via Yahoo to Geoff Send a message via Skype™ to Geoff
Default

I couldn't use etch because there was no driver support for some of the newer printers I have (photocopiers mainly).
  Reply With Quote
Old 12-03-2008, 04:24 PM   #32
 
ICTNUT's Avatar
 
Join Date: Jul 2005
Location: Hereford
Posts: 758
uk uk hay on wye
Thanks: 37
Thanked 36 Times in 12 Posts
Rep Power: 14 ICTNUT has a spectacular aura aboutICTNUT has a spectacular aura about
Send a message via MSN to ICTNUT Send a message via Skype™ to ICTNUT
Default

Yeah I had a brain wave and decided to check support and found that our Canon iR range of copiers is not supported.

I have installed ubuntu 7.10 and has worked of the bat, to say that I have CUPS up and running now going for PYKOTA.

Will update you as I go....
  Reply With Quote
Old 13-03-2008, 03:16 PM   #33
 
ICTNUT's Avatar
 
Join Date: Jul 2005
Location: Hereford
Posts: 758
uk uk hay on wye
Thanks: 37
Thanked 36 Times in 12 Posts
Rep Power: 14 ICTNUT has a spectacular aura aboutICTNUT has a spectacular aura about
Send a message via MSN to ICTNUT Send a message via Skype™ to ICTNUT
Default

OK here goes,

I have ubuntu 7.10 instaled and working, I have cups installed and working (have added two printer thus far and done test prints to them OK), I have pykota installed.

When doing that last section on the CUPS config:

Code:
chown -R administrator:"domain admins" /etc/samba/drivers/
I get the following return ed back:

Code:
chown: `administrator:domain admins': invalid user
on the next line:

Code:
cupsaddsmb -H servername -U administrator -a
I assume that servername is replaced with the name of my print server??

Onto the Pykota config, where it says add a printer via the CUPS interface I can do this but the is nowhere to select the type of "Pykota Managed"

Any ideas?....
  Reply With Quote
Old 13-03-2008, 04:30 PM   #34
 
Geoff's Avatar
 
Join Date: Jun 2005
Location: Fylde, Lancs, UK.
Posts: 9,839
uk uk lancashire
Thanks: 41
Thanked 217 Times in 198 Posts
Blog Entries: 1
Rep Power: 64 Geoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud of
Send a message via ICQ to Geoff Send a message via AIM to Geoff Send a message via MSN to Geoff Send a message via Yahoo to Geoff Send a message via Skype™ to Geoff
Default

1. Verify you've edited the /etc/nsswitch.conf file as I earlier suggested.
2. Yes.
3. Verify the /usr/lib/cups/backend/cupspykota symbolic link exists and the permissions are correct on /usr/share/pykota/cupspykota file.
  Reply With Quote
Old 13-03-2008, 05:05 PM   #35
 
ICTNUT's Avatar
 
Join Date: Jul 2005
Location: Hereford
Posts: 758
uk uk hay on wye
Thanks: 37
Thanked 36 Times in 12 Posts
Rep Power: 14 ICTNUT has a spectacular aura aboutICTNUT has a spectacular aura about
Send a message via MSN to ICTNUT Send a message via Skype™ to ICTNUT
Default

OK after a great deal of effort ubuntu is out the window.

I have installed debian etch (4.0 r3) and have got most of the way with no errors at all, however, I am not at the bit where we change some permissions:

Code:
# chown -R administrator:"domain admins" /etc/samba/drivers/
and i get:

Code:
chown: `administrator:domain admins': invalid user
I have tried variations of domain admin accounts / groups non of which work, any ideas anyone??.....

Last edited by ICTNUT; 18-03-2008 at 01:51 PM..
  Reply With Quote
Old 18-03-2008, 01:51 PM   #36
 
ICTNUT's Avatar
 
Join Date: Jul 2005
Location: Hereford
Posts: 758
uk uk hay on wye
Thanks: 37
Thanked 36 Times in 12 Posts
Rep Power: 14 ICTNUT has a spectacular aura aboutICTNUT has a spectacular aura about
Send a message via MSN to ICTNUT Send a message via Skype™ to ICTNUT
Default

bump sorry
  Reply With Quote
Old 18-03-2008, 02:28 PM   #37
 
Ric_'s Avatar
 
Join Date: Jun 2005
Location: Lancashire
Posts: 5,436
uk uk lancashire
Thanks: 26
Thanked 134 Times in 118 Posts
Rep Power: 40 Ric_ is a splendid one to beholdRic_ is a splendid one to beholdRic_ is a splendid one to beholdRic_ is a splendid one to beholdRic_ is a splendid one to beholdRic_ is a splendid one to behold
Send a message via MSN to Ric_ Send a message via Skype™ to Ric_
Default

Sorry that I missed your post...

I had a problem with this during my migration. Things to check are that the directory exists (!) and that winbind, etc. are working - particularly check there is no clock skew!
  Reply With Quote
Old 18-03-2008, 02:31 PM   #38
 
Geoff's Avatar
 
Join Date: Jun 2005
Location: Fylde, Lancs, UK.
Posts: 9,839
uk uk lancashire
Thanks: 41
Thanked 217 Times in 198 Posts
Blog Entries: 1
Rep Power: 64 Geoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud of
Send a message via ICQ to Geoff Send a message via AIM to Geoff Send a message via MSN to Geoff Send a message via Yahoo to Geoff Send a message via Skype™ to Geoff
Default

(Third time now) Did you edit /etc/nsswitch.conf so the system knows to ask winbind about users/groups?
  Reply With Quote
Old 18-03-2008, 02:39 PM   #39
 
ICTNUT's Avatar
 
Join Date: Jul 2005
Location: Hereford
Posts: 758
uk uk hay on wye
Thanks: 37
Thanked 36 Times in 12 Posts
Rep Power: 14 ICTNUT has a spectacular aura aboutICTNUT has a spectacular aura about
Send a message via MSN to ICTNUT Send a message via Skype™ to ICTNUT
Default

@Ric_: i did see a mention somewhere about NTP, I can gaurantee this has not yet been setup but I guess it should be, any pointers??

@Geoff: Yes see below:
Code:
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         files winbind
group:          files winbind
shadow:         files winbind

hosts:          files dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis
  Reply With Quote
Old 18-03-2008, 03:40 PM   #40
 
Geoff's Avatar
 
Join Date: Jun 2005
Location: Fylde, Lancs, UK.
Posts: 9,839
uk uk lancashire
Thanks: 41
Thanked 217 Times in 198 Posts
Blog Entries: 1
Rep Power: 64 Geoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud of
Send a message via ICQ to Geoff Send a message via AIM to Geoff Send a message via MSN to Geoff Send a message via Yahoo to Geoff Send a message via Skype™ to Geoff
Default

Quote:
i did see a mention somewhere about NTP, I can gaurantee this has not yet been setup but I guess it should be, any pointers??
Code:
apt-get install openntpd
Then edit /etc/openntpd/ntp.conf Mine looks like this:
Code:
# Addresses to listen on (ntpd does not listen by default)
listen on *
#listen on 127.0.0.1
#listen on ::1

# sync to a single server
server ntp0.lancsngfl.ac.uk
server ntp1.lancsngfl.ac.uk

Quote:
see below
you have the order wrong, your using winbind for shadow (which is wrong). Here's how mine works:
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
verify that your nsswitch is working correctly like so:

Code:
root@goliath:~# getent passwd | grep Administrator
administrator:x:11761:10015:Administrator:/home/CARRHILL/administrator:/bin/bash
root@goliath:~# getent group | grep "Domain Admins"
Domain Admins:x:10015:Ctx_ConfigMgr,zimbra,EMLibUser1,sweepupd,gking,manager
As you can see, mine works
  Reply With Quote
Old 18-03-2008, 04:07 PM   #41
 
ICTNUT's Avatar
 
Join Date: Jul 2005
Location: Hereford
Posts: 758
uk uk hay on wye
Thanks: 37
Thanked 36 Times in 12 Posts
Rep Power: 14 ICTNUT has a spectacular aura aboutICTNUT has a spectacular aura about
Send a message via MSN to ICTNUT Send a message via Skype™ to ICTNUT
Default

Ok as you can see the following works:

Code:
4428-prtsvr:~# getent passwd | grep ozanpakyuz
JKHS-PD\ozanpakyuz:*:11763:10002:OzanPakyuz:/home/JKHS-PD/ozanpakyuz:/bin/false
ozanpakyuz:x:1000:1000:Ozan Pakyuz,,,:/home/ozanpakyuz:/bin/bash
but this does not:

Code:
4428-prtsvr:~# getent group | grep "Domain Admins"
4428-prtsvr:~#
So i guess soemthing is still missing somewhere.

I copied you nsswitch.conf file as you posted it and we have moved foreward and it look like it is able to see users just not groups
  Reply With Quote
Old 18-03-2008, 04:12 PM   #42
 
Geoff's Avatar
 
Join Date: Jun 2005
Location: Fylde, Lancs, UK.
Posts: 9,839
uk uk lancashire
Thanks: 41
Thanked 217 Times in 198 Posts
Blog Entries: 1
Rep Power: 64 Geoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud of
Send a message via ICQ to Geoff Send a message via AIM to Geoff Send a message via MSN to Geoff Send a message via Yahoo to Geoff Send a message via Skype™ to Geoff
Default

So can winbind see groups?

Code:
root@titan:~# wbinfo -g | grep "Domain Admins"
Domain Admins
  Reply With Quote
Old 18-03-2008, 04:16 PM   #43
 
ICTNUT's Avatar
 
Join Date: Jul 2005
Location: Hereford
Posts: 758
uk uk hay on wye
Thanks: 37
Thanked 36 Times in 12 Posts
Rep Power: 14 ICTNUT has a spectacular aura aboutICTNUT has a spectacular aura about
Send a message via MSN to ICTNUT Send a message via Skype™ to ICTNUT
Default

Nope, I get the same thing, just returns an empty line
  Reply With Quote
Old 18-03-2008, 04:22 PM   #44
 
Geoff's Avatar
 
Join Date: Jun 2005
Location: Fylde, Lancs, UK.
Posts: 9,839
uk uk lancashire
Thanks: 41
Thanked 217 Times in 198 Posts
Blog Entries: 1
Rep Power: 64 Geoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud ofGeoff has much to be proud of
Send a message via ICQ to Geoff Send a message via AIM to Geoff Send a message via MSN to Geoff Send a message via Yahoo to Geoff Send a message via Skype™ to Geoff
Default

What about 'wbinfo -g' on it's own?
  Reply With Quote
Old 18-03-2008, 04:26 PM   #45
 
ICTNUT's Avatar
 
Join Date: Jul 2005
Location: Hereford
Posts: 758
uk uk hay on wye
Thanks: 37
Thanked 36 Times in 12 Posts
Rep Power: 14 ICTNUT has a spectacular aura aboutICTNUT has a spectacular aura about
Send a message via MSN to ICTNUT Send a message via Skype™ to ICTNUT
Default

I get the following:

Code:
4428-prtsvr:~# wbinfo -g
BUILTIN administrators
BUILTIN users
domain users
teachers
domain guests
domain computers
group policy creator owners
cert publishers
domain admins
domain controllers
_web applications
exchange domain servers
dnsupdateproxy
_web anonymous users
students
jkhsadmins
reports
alcusers
2005_intake
2004_intake
2003_intake
2002_intake
2001_intake
smt
banned_internet
alcstaff
2006_intake
moodlecreators
ict_reset_passwords
ras and ias servers
exchange enterprise servers
dhcp users
dhcp administrators
netopactivity
dnsadmins
wins users
debugger users
telnetclients
iis_wpg
sqlserver2005mssqluser$jkhs-dc1$microsoft##ssee
sqlserver2005msfteuser$jkhs-dc1$microsoft##ssee
wsus reporters
wsus administrators
certsvc_dcom_access
enterprise admins
schema admins
all staff
resources
2006
2005
2004
2003
2002
mathsgroup
orangeteam
Which is really wierd as domain admins is in there
  Reply With Quote
Reply

Register now for FREE and post messages!


Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Birthday:      
Image Verification
  I agree to forum rules 

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache with Winbind Authentication Ric_ *nix 36 22-03-2008 07:56 PM
Samba/Cups print server Geoff *nix 7 30-05-2007 03:52 PM
PyKota - CUPS based Printer Quota/Costing system Geoff *nix 3 13-09-2006 08:36 AM
Windows Automated Installation Kit (WAIK) User's Guide tosca925 Windows Vista 0 17-02-2006 09:26 PM



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search Thread
Search Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump