Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i am new to samba. i am unable to configure samba server. i dont know how smb.conf's parameters(eg:[homes][profiles],etc) work. i was googling from so many days but i am having problems and having so many questions.. please any one help. please explain me about smb.conf parameters or suggest sum sites where i can get complete knowledge or suggest me video tutorials(only about samba,smb.conf).. please help me. sorry for my english.. thank you
The best reference I have found is Samba by Example. It walks you through configuration, starting with the simple and moving to the complex, with example configuration files. That was the reference that helped me get my own home file server working for the first time.
One thing you might check: If you are trying to set up a file server, check that you have Samba server installed. Most distros come with Samba client installed, but many do not come with Samba server.
Sir michaelk Thank you for responding to my question i am using Cantos 6 in VMware workstation.. i want create Roaming profile for all users in my Cantos server i successes fully configured NIS server and i want gave drive sharing to that users. after giving a shared drive i will apply Quota for that shared drive to some of the users. i dont know smb.conf's parameters how they will act in the run time.. i tried so many videos to configure samba server server but finally i failed. i hope you can understand my problem still i am a Lerner of Linux..
Note: i am not using any windows client for users to log in with roaming profile
Sir frankbell thank you for suggesting me the link https://help.ubuntu.com/10.04/serverguide/samba-fileserver.html i hope this will help me. yes i installed Samba server but i am unknown of samba server and its configuration files. in the above replay i explained about my problem if possible gave me sum suggestions on it. i will once again prepare my samba server with suggestions thank you.
Here's a portion of my smb.conf file in case it helps you. We have a mixed Windows/Linux network, and this configuration make the share available to either OS.
Code:
~/ $ cat /etc/samba/smb.conf
# Global parameters
[global]
workgroup = workgroup
security = share
encrypt password = yes
smb passwd file = /etc/samba/smbpasswd
show add printer wizard = No
wins support = no
[sharefiles]
path = /path/to/some/directory
guest ok = yes
read only = no
available = yes
browsable = yes
public = yes
writable = yes
The above smb.conf helped me. i understand a little about smb.conf's parameters . Now i am facing a problem with smb.conf. i configured the smb.conf and maked it as PDC and now my windows 7 & windows Xp could not able to join the Domain(Samba) and i patched the windows 7 registries to join domain but it fails to join the domain. the Error is " the following error occurred attempting to join the domain cents " and just now after a restart the problem is solved. but "smbpasswd(/etc/samba/smbpasswd)" and "smbusers(/etc/samba/passwd)" does not upadating.
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[netlogon]"
Processing section "[Profiles]"
Processing section "[shares]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions
Supporting fellow Linux users is why we are here. We were all newbies once.
Domains are another story; my configuration was for a simple home network workgroup.
If you are running a true domain, as opposed to a workgroup, that adds many layers of complexity. Could you clarify whether this is a true Windows domain with a domain controller and active directory and all that stuff?
Sir frankbell thank you for responding to my question
i am little confused about samba. i am surfing whole web to understand samba. i want to be a good linux system administrator after that i want to be good CEH(certified ethical hacker) to serve corporate company's.
i am learning from web with little knowledge of Linux basics. i really don't know how the servers will work on the background i am following sum videos on the YouTube to configure server or etc which contain little information and lots-off questions.
Quote:
Could you clarify whether this is a true Windows domain with a domain controller and active directory and all that stuff?
i think i am making samba as DOMAIN_PDC(Primary Domain Controller) for Windows clients.
i installed NIS(Network Information Services) and it is working fine.
i installed samba with above configuration
>when i try to join windows clients to samba Domain it will gave Error
Quote:
The following error occurred attempting to join the Domain " centos"
Logon failure: Unknown user name or bad password
> some times it joins the Domain with same password and username i supplied in the previews which gave error > But if i want to change any settings in the windows 7 client it prompts for administrator credentials on > > supplying same username and password it fails and asks again.
> samba server does not update "smbpasswd" & "smbusers"
> i can not locate where this user details and passwords are updating.
sorry for this type of questions but i want to learn.. Thank you for till now supporting me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.