ok here is a basic setup of a windows 9X/ME domain controller but it will act as a file server for 2000/XP
[Global] workgroup = OFFICE1 netbios name = SAMLINUX server string = Samba Server wins support = Yes security = user encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd unix passwd sync = yes passwd program = /usr/bin/passwd %u passwd chat = *New*Unix*Password* %n\n *ReType*new*Unix*Password* %n/n *passwd:*all*authentication*tokens*updated*sucessfully* # passwd chat line is all one line username map = /etc/samba/smbusers local master = yes domain master = yes preffered master = yes domain logons = yes logon path = \\%L\profiles\%U wins support = yes [homes] comment = Home Directories browsable = no writable = yes [netlogon] comment = Network Logon Service path = /home/netlogon guest ok = yes writable = no share modes = no [profiles] path = /home/profiles browsable = no guest ok = yes [shared] path = /sharedzone browsable = yes guest ok = yes public = yes writable = yes Thats Your smb.conf done. now we need to run some commands mkdir /home/netlogon mkdir /home/profiles mkdir /sharedzone useradd username smbpasswd -a username where username is a username of your choice and you can add as many as you want let me know the outcome blackfish |
I was trapped with that smb.conf stuff
then I found out that it was only a simple thing that I've missed |
Metalsam;
Quote:
INSTALL LISA DAEMON N kick it on. __________________________________________________ disable all FIREWALL from the security section. Life would be much easier. |
Sorry I've posted too many times.
I guess I too old for this "excuse me" ((something mad with my browser)) Regards |
Quote:
whats up with all the asterixes ? |
I shows that there is a space between each word when you run a command
|
still dont get it...
so i have to put new unix passwd as part of that file ? |
just copy that page ive given you, then run the useradd command to add a user onto the unix database then run the smbpasswd -a username where username is the name of the user you added with the useradd command
HTH blackfish |
linux still isnt visible from XP :(
|
you dont happen to have the firewall enabled do you?
|
are u following what we teach here, ok tell me
1) u search computer from xp samlinux can u see ? 2) if u can see & u click computer samlinux did that computer asking the user pass ? 3) ok what is testparm output for this time ------------------------------ ---browser mad donno why |
Quote:
|
Just remembered that I've made a bit of modification on Windows system32 to make LINUX box appeear on my WIN2k desktop.
I'm not sure if it's affective or not. |
[Sam@localhost ~]$ testparm
Load smb config files from /etc/samba/smb.conf Unknown parameter encountered: "unix passwd sync" Ignoring unknown parameter "unix passwd sync" Unknown parameter encountered: "preffered master" Ignoring unknown parameter "preffered master" Processing section "[homes]" Processing section "[netlogon]" Processing section "[profiles]" Processing section "[shared]" Loaded services file OK. Server role: ROLE_DOMAIN_PDC Press enter to see a dump of your service definitions # Global parameters [global] workgroup = OFFICE1 netbios name = SAMLINUX server string = Samba Server passwd program = /usr/bin/passwd %u passwd chat = *New*Unix*Password* %n\n *ReType*new*Unix*Password* %n/n *passwd:*all*authentication*tokens*updated*sucessfully* username map = /etc/samba/smbusers logon path = \\%L\profiles\%U domain logons = Yes domain master = Yes wins support = Yes [homes] comment = Home Directories read only = No browseable = No [netlogon] comment = Network Logon Service path = /home/netlogon guest ok = Yes share modes = No [profiles] path = /home/profiles guest ok = Yes browseable = No [shared] path = /sharedzone read only = No guest ok = Yes |
So your FEDORA is the domain controller on your LAN??
In LAN there must be a unit that act as a DOMAIN CONTROLLER so each workstation is able to communicate.(large network usually use this) Have you grant XP to have a share to your LINUX system? That samba configuration changes everytime you configure your network state. Here's my samba configuration for LINUX to XP <>XP-Fedora config; this is just a small networking___________________________________________________ [global] # there's no modification ,it comes from fresh install of Fedora4 cups options = raw log file = /var/log/samba/%m.log max log size = 50 security = share socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 dns proxy = no winbind uid = 16777216-33554431 winbind gid = 16777216-33554431 restrict anonymous = no domain master = no preferred master = no max protocol = NT ldap ssl = No server signing = Auto [homes] comment = Home Directories browseable = no read only = no [printers] comment = All Printers path = /var/spool/samba browseable = no # Set public = yes to allow user 'guest account' to print guest ok = no printable = yes [LINUXXP] path = /LINUXxp guest ok = yes read only = no case sensitive = no msdfs proxy = no ____________________________________________________________ I dont really care about samba CONFIG coz it's DYNAMIC. On the winXP; >open my net place >view workgroup computer ______________________________________ there's only your winXP 'computer BOX' ______________________________________ __(ther's no LINUX)___ click MS WIND NETWORK it's inside 'other places'.(under network task BOX) You'll see workgroup computer (one of them should be your LINUX box). Also printer and Faxes from Fedora 4. |
All times are GMT -5. The time now is 02:51 AM. |