John: I wanted to add that I have no problem logging into the samba
server with a domain account, as long as it's not through KDE. The first
time error's out complaining about DCOPServer and not being able to
write to the home directory....don't know if this is relevant.
My experience is very limited on Unix and Samba. Please forgive me if
the answer is right in front of me.
Problems accessing shares on my Samba 3.0.1pre1 running on Gentoo1.4
I'm stuck big time! I've been trying to figure out why I cannot access
shares. The only share I can currently read & write to is:
[OpenShare]
comment = Temporary file space
path = /tmp
read only = No
guest ok = Yes
Linux permissions: drwxrwxrwt 36 root root 3328 Oct 21
11:25 tmp
When I try to acces [LinuxSoftware {FAT32}] share I get:
"\\anc-gentoo1\LinuxSoftware is not accessible. You may not have
permisions.... The network path cannot be found."
**I have verified that the path is correct.**
[LinuxSoftware]
comment = OpenSource
path = /mnt/windows/Software/
write list = @"Domain Admins"
read only = No
guest ok = Yes
Linux permissions: drwxr--r-- 57 tim root 32768 Oct 8 00:49
Software
On this share I get a prompt for username and password; although
nothing seems to let me in. TIM is a domain user.
[TIM]
comment = Tim's Service
path = /home/bxnctej/
valid user = TIM
read only = No
Linux permissions: drwx------ 37 tim Domain Users 2048 Oct 21
11:58 bxnctej
* tim is my local linux account
I may have narrowed down the problem to this log entry. DOL-ANC-WTS2 is
the W2K server that I'm trying to access the Samba shares from. I don't
understand why GETPWNAM is looking for the machine name. I understand
GETPWNAM to look into /etc/password. I don't understand why winbind
wants to look for DOL-ANC-WTS2 in a local password file?
> [2003/10/21 10:58:05, 10] nsswitch/winbindd.c:process_request(305)
> process_request: request fn GETPWNAM
> [2003/10/21 10:58:05, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(112)
> [22176]: getpwnam DOL-ANC-WTS2$
> [2003/10/21 10:58:05, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(147)
> user 'DOL-ANC-WTS2$' does not exist
> [2003/10/21 10:58:05, 10] nsswitch/winbindd.c:client_write(502)
> client_write: wrote 1300 bytes.
> [2003/10/21 10:58:05, 10] nsswitch/winbindd.c:winbind_client_read(455)
> client_read: read 1568 bytes. Need 0 more for a full request
smb.conf:
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions
# Global parameters
[global]
workgroup = LABOR
realm = LABOR.AK
server string = Samba3 on ANC-Gentoo1.4
security = ADS
password server = DOL-ANC-AD1
log level = 10
log file = /usr/local/samba/var/log.%m
max log size = 50
name resolve order = wins bcast
socket options = SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 0
preferred master = No
local master = No
domain master = No
wins server = ###.###.###.###
idmap uid = 10000-20000
idmap gid = 10000-20000
template homedir = /home/LABOR/%U
template shell = /bin/bash
winbind use default domain = Yes
[OpenShare]
comment = Temporary file space
path = /tmp
read only = No
guest ok = Yes
[TIM]
comment = Tim's Service
path = /home/bxnctej/
valid users =TIM
read only = No
[LinuxSoftware]
comment = OpenSource
path = /mnt/windows/Software/
write list = @"Domain Admins"
read only = No
guest ok = Yes
I included my groupmap. Should I noticed two groupmappings for "Domain
Admins"
bash-2.05b# ./net groupmap list
System Operators (S-1-5-32-549) -> sys
Replicators (S-1-5-32-552) -> -1
Guests (S-1-5-32-546) -> nobody
Domain Users (S-1-5-21-3417231078-1290269627-1885213793-513) -> users
Domain Admins (S-1-5-21-3417231078-1290269627-1885213793-2005) -> root
Power Users (S-1-5-32-547) -> sys
Print Operators (S-1-5-32-550) -> lp
Administrators (S-1-5-32-544) -> ntadmin
Domain Admins (S-1-5-21-3417231078-1290269627-1885213793-512) -> -1
Account Operators (S-1-5-32-548) -> -1
Domain Guests (S-1-5-21-3417231078-1290269627-1885213793-514) -> nobody
Backup Operators (S-1-5-32-551) -> -1
Users (S-1-5-32-545) -> users
I can do these commands with success!
wbinfo -u
wbinfo -g
getent group
getent passwd
bash-2.05b# ./nmblookup anc-07-14927xp
Got a positive name query response from 146.63.135.98 ( 146.63.135.98 )
146.63.135.98 anc-07-14927xp<00>
Please let me know if I can send more info.
Thank you for your time,
Tim Jordan