Because in OSX server you cannot login to a server remotely using root,
you have to use an admin accout to join a machine to a domain.
I changed the owner of the samba dir and smbpasswd file to admin.
Seems a little too easy now.
/me kicks self for not thinking of that a while ago.
I just hope this saves someone else some time.
Kyle Loree
Rendek Communications
Kyle@caisnet.com
kyle@caisnet.com writes:>I have a mac osx 10.2.3 as a server, anyone unfamiliar with it, it uses
>admin as main user. root is still on the system. Admin is admin of the
>password server which is required to login to samba. therefore root
can't
>be the one to join. yet admin doesn't have rights to modify smbpasswd.
>
>I know the smb.conf config should work.
>I have added the users and machines using smbpasswd successfully, I can
>connect to the shares over the network.
>Somehow I have to force admin to be able to modify smbpasswd to allow for
>the users.
>
>the only pertinent info out of the logs,
>
>unable to open file
>unable to open passdb database
>unable to open file /var/db/samba/smbpasswd. Error was permission denied.
>
>
>[global]
> local master = YES
> guest account = unknown
> encrypt passwords = YES
> max smbd processes = 0
> print command = /usr/sbin/PrintServiceAccess printps %p %s
> lpq command = /usr/sbin/PrintServiceAccess jobs %p
> lprm command = /usr/sbin/PrintServiceAccess remove %p %j
> lppause command = /usr/sbin/PrintServiceAccess hold %p %j
> lpresume command = /usr/sbin/PrintServiceAccess release %p %j
> printer admin = unknown, @staff
> server string = Mac OS X Server
> log file = /Library/Logs/WindowsServices/WindowsFileService.log
> netbios name = onpaserv
> workgroup = WORKGROUP
> log level = 2
> wins support = YES
> domain master = YES
> client code page = 437
> coding system = utf8
> domain admin group = @admin
> security = user
> preferred master = YES
> domain logons = YES
> os level = 64
> logon drive = i:
> logon home = \\onpaserv\users\%u
> logon path = \\onpaserv\users\%u
> logon script = %u.bat
>[users]
> path = /Volumes/iRAID/users
> browseable = NO
> read only = NO
> comment = macosx
> public = NO
>[shared]
> path = /Volumes/iRAID/shared
> public = NO
> read only = NO
> writable = YES
> comment = macosx
>[projects]
> path = /Volumes/iRAID/projects
> public = NO
> read only = NO
> comment = macosx
>[profiles]
> path = /Volumes/iRAID/profiles
> public = NO
> read only = NO
> comment = macosx
>
>Any help would be greatly appreciated
>
>
>
>Kyle Loree
>Rendek Communications
>Kyle@caisnet.com
>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions: http://lists.samba.org/mailman/listinfo/samba