Samba+NIS

hi guys i have setup samba and NIS on my sol box and it works independently.

now i created another nis account and add it also as a samba user, with this user i can login to my linux client, however in my linux client when i tried to login to my samba server i received a NT STATUS LOGIN FAILURE.

i think this is because my nis account added as samba user does not exist on my NIS local /etc/passwd can anyone give any hints how to fix this i cant find any answers in google that works for me.

You can hook using things like "root preexec"... so that when a share is access, e.g. "homes" (which will attempt to use a user's home dir), that "root preexec" program could be used to add the user to NIS, and make homedir, etc...