Red Hat / Fedora :: Samba Winbind Authentication With Windows 2003 - Multiple Server?
Jul 3, 2010
I've been searching around the web for help and have been really pulling my hair on this one. I have a Windows 2003 Server w/ AD on it. I have two linux machine, both running the same version of RHEL 5 (compute-1, compute-4)
When I log into compute-1, and do an "id dhuynh", I get this:
uid=1501(dhuynh) gid=1500(domain users) groups=1500(domain users),2013(dusers),1501(certsvc_dcom_access),1507 (BUILTIN+users)
When I log into compute-4, do do the same command, I get this:
uid=1500(dhuynh) gid=1504(domain users) groups=1504(domain users),1505(certsvc_dcom_access),1501(BUILTIN+user s)
Notice that the uid and gid are different. How do I get them to be the same? This is affective the file permissions in certain shared directories. I've check /etc/samba/smb.conf and they are identical. I also check /etc/nsswitch.conf and they are identical too.
View 2 Replies
ADVERTISEMENT
Apr 26, 2010
I added my linux server to a windows AD using winbind / samba. Everything worked just fine. After changing the OS to Debian lenny x64 I get a "segmentation fault" when trying to change user passwords. I am using the exact same configuration, on my 32 bit Server everything works.
debian:~# passwd <user>
sgmentation fault
tail /var/log/syslog:
kernel: [689689.005934] passwd[11209]: segfault at 0 ip b7b84418 sp bfc37fc0 error 4 in pam_winbind.so[b7b7e000+b000]
Debian Lenny 5.0
[Code].....
View 2 Replies
View Related
Nov 1, 2009
is possible configure a samba server to a Backup Domain Controller in a windows 2003 Domain ? I have a Primary Domain controller Windows server 2003 , can integrate my network with a linux samba Backup Domain Controller server ?
View 1 Replies
View Related
Oct 15, 2009
Wanting to join my CentOS5.3 to a windows 2003 active directory. Configured kerberos and samba.
Code:
[libdefaults]
default_realm = domain
dns_lookup_realm = false
[code].....
View 5 Replies
View Related
Sep 7, 2010
I'm trying to set my openSUSE desktop up to use the printers on my office network via Samba. I managed to get it working in 11.2 but 11.3 is giving me some trouble.I am able to access the printers and use them but I have to enter my network credentials each time I print. In 11.2 I was able to "save" my username/password and was not required to do this. Are there any Samba packages I need to add in addition to the basic ones? There seems to be a lack of documentation on this particular subject, most is concerning Windows clients printing on Linux print servers.
View 2 Replies
View Related
May 25, 2011
How do I turn winbind authentication off or vsftpd. I keep getting these error messages in the /var/log/ secure:vsftpd: pam_winbind(vsftpd:auth): request failed: No such user, PAM error was User not known to the underlying authentication module (10), NT error was NT_STATUS_NO_SUCH_USER.I already tried remarking out different things in the config files. Is it safe to remark out the winbind stuff in /etc/pam.d/system-auth if we are using the smbclient to connect to a Windows share?Why would you want to to use AD to authenticate users for something simple like FTP is beyond me.I merely want it to authenticate against local system users.
View 3 Replies
View Related
Aug 3, 2011
Intent is to use samba+winbind to authenticate Ubuntu desktop against a Windows 2008 R2 domain (seems like I was able to get it working temporarily but it stopped working after some time). Quick overview of the issue: winbind is failing to lookup group ID's for a domain user causing the domain user to receive group errors on login and an inability to use domain groups in other configuration (sudoers, etc)
- Very basic install, boot to Ubuntu Desktop 10.04 LTS 64bit install, basic install options, perform software updates
- Following an Ubuntu AD HowTo [URL]
- Install kerberos, samba, winbind packages
- Make changes to krb5.conf, smb.conf, files in pam.d/ (to make the home directory and restrict login based on group membership, which works even in the half-working state but requires SID instead of text name)
After a reboot I can login as a domain account but I get the following error(s):
groups: cannot find name for group ID #####
##### is usually a number that ranges from 10000 to 10020, based on the smb.conf line regarding idmap I will get multiple group errors (one for each group that the user belongs to that winbind can't lookup for whatever reason, some groups can be resolved - see below) If I log-out and then log-in as a local user I can run the following command: id username The output returns something similar to the following:
uid=10002(username) gid=10003(domain users) groups=10003(domain users),10033,10032,10031,10030,10029,10028,10027,1 0026,10025,10024,10023,10022,10021(some group),10020,10019,10018(some other group),10017,10016,10015,10014,10013,10012,10011(s ome other other group),10010,10009,10008,10007
On a working system (Ubuntu 10.10 and when 10.04 decides to work) each group is followed by parenthesis' and the name of the group, this result clearly shows that some groups can be looked up but for some reason other groups are failing An output of /var/log/samba/log.winbind produces the following entries (that are logged when you run the id command)
[2011/08/03 19:04:39, 1] winbindd/winbindd_ads.c:1137(lookup_groupmem)
lsa_lookupsids call failed with NT_STATUS_PIPE_BROKEN - retrying...
[2011/08/03 19:04:39, 1] winbindd/winbindd_ads.c:1137(lookup_groupmem)
lsa_lookupsids call failed with NT_STATUS_PIPE_BROKEN - retrying...
The above repeats for what looks to be each group that fails (based on count of entries)If I use wbinfo I can resolve text group name to SID and SID to GID
wbinfo -n groupname (returns proper SID)
wbinfo -s SID (returns proper text group name)
wbinfo -Y SID (returns proper linux mapped group ID)
Following that process for a group that my user belongs to that is not resolving (via the id username command) will return the group ID (GID) properly (even though id username fails to lookup info for that same GID) Version Information:
uname -a
Linux hostname 2.6.32-33-generic #71-Ubuntu SMP Wed Jul 20 17:27:30 UTC 2011 x86_64 GNU/Linux
lsb_release -a
No LSB modules are available.
[code]....
View 3 Replies
View Related
Oct 21, 2010
I have Windows 2008R2 Server acting as Domain Controller for Windows7/XP clients. and CentOS 5.3 Installed configured as Samba Server, I want to make it as ADS member server so any user to login to any machine, and be able to access their Samba share.
View 3 Replies
View Related
Sep 1, 2010
I'm trying to mount a Windows Server 2003 share in Fedora 13. With Fedora 8 and with RHEL 5.5 this works properly, but not with Fedora 13.
The mount point I'm using is /usr/eg
The symptoms are: Nautilus (the file browser) does not display the mount in the places or tree as a mounted drive. Using the file broser I can browse under file system down to the files on the server Programs cannot find the files under /usr/eg ie the files on the server.
Here is my fstab entry:
//192.168.1.40/eg /usr/eg cifs auto,user=<user>,password=<password>,rw,uid=500,gid=500,file_mode=0774._netdev 0 0
View 1 Replies
View Related
Sep 11, 2010
I have setup a Centos5.5 VMWare guest with Samba and Winbind for Active Directory integration, using GUI tools. Authentication works flawlessly, with automatic home directory creation. What I want to achieve now is using local UNIX groups to controll access to shared folders, to avoid bothering AD administrators with groups management. This is my smb.conf global section:
workgroup = COGITANS
password server = domainserver.hq.cogitans.it
realm = HQ.COGITANS.IT
security = ads
[code]....
'finance' is a local UNIX group where I added user 'COGITANSalberto' (I also tried with 'alberto') as a secondary group (primary group is 'domain users' and it cannot be changed). I am sure the user is added, because it is listed in 'getent group'. If I specify user COGITANSalberto in valid users it works, i.e. only that use can access the share, the others get a NT_STATUS_ACCESS_DENIED error. But if I use +finance, access is denied to everybody, and this is the log:
[2010/09/11 14:12:37, 10] smbd/share_access.c:user_ok_token(211)
User COGITANSalberto not in 'valid users'
[2010/09/11 14:12:37, 2] smbd/service.c:make_connection_snum(617)
user 'COGITANSalberto' (from session setup) not permitted to access this share (finance)
[code]....
It seems like winbind cannot recognize finance as a local group. For the same reason, I guess, 'force group = finance' does not work either (files are created with 'domain users' group ownership). My /etc/nsswitch.conf:
passwd: files winbind
shadow: files winbind
group: files winbind
Grants and ownership on the '/repositories/shared/finance' folder are
root:domain users with permissions 775
View 2 Replies
View Related
Nov 12, 2010
Have recently setup Samba on a fresh install of Fedora 14 so that I can use it as a workstation in a Windows 2003 (win2k3) domain.
The install of Samba seems to have worked as I can connect to the Domain using ADS and kerberos. selinux and firewall have been disabled until I have it working 100%
The problem lies when i try to login to Gnome or TTY. It begins to create the home directory for the domain user logging in but after a certain process Fedora logs the user out of the system.
Have looked through several log files (/var/log/messages, log.winbindd, log.winbindd-dc-connect) but am unable to debug it any further.
Have posted the config files below which shows the Fedora machine is successfully connected to the domain as it lists its groups, users and validates logon credentials - it just won't logon!
Where i can go about debugging. Also if you need additional configs.
View 1 Replies
View Related
Mar 1, 2009
I'm trying to config a customer's samba server to use a MS 2003 SBS for auth. The samba is for file sharing only config'ed with disk quota's. Currently the samba is config'ed for auth = Users. But I want a central point for user auth, and since they already have the sbs in place, I'd like to use that.
View 1 Replies
View Related
Jan 10, 2011
I need to install FTP Server in CentOS and it has to integrate with Windows 2003 Active Directory. Users should use their Active directory Credentials to upload or download files in FTP Server.
View 3 Replies
View Related
Oct 10, 2010
this is vinoth. im using redhat el5 . i want to migrate windows 2003 server active directory with redhat linux el5 2.6.18-8.el5
View 2 Replies
View Related
Jun 1, 2011
I am switching from Windows Server 2003 to Ubuntu 11.04.
These are two different machines, the Windows Server has 2 2TB Hard drives in it, that are setup as a RAID 1. The data on the drives is irreplaceable. I've scoured the internet for about two weeks, trying to find the best solution. It seems like everyone else had a slightly different setup, or the was no solution.
The Ubuntu Server has a 40GB SSD in it. I just installed a 2TB Hard drive (same make and model of the two in the Windows Server) and made the filesystem for it ext3.
First thing I did was just throw the 2 2TB Hard Drives in the new server, and tried to set them up as a software RAID. After it prompt me to erase the drives, I strayed away from that idea.
My end goal is having Ubuntu machine completely replace the Windows machine, so I'll need to setup Samba (which I'm sure I can figure that part out).
How can I get all the data off the 2TB Hard Drives that are using NTFS onto a RAID in the Ubuntu machine with an ext3 filesystem?
View 3 Replies
View Related
Feb 28, 2011
9.10 Ubuntu (Karmic) I could never connect from home using rdesktop, grdp, krdc, etc to the Windows Server 2003 R2 at the office: "Connection reset by peer" or the client simply remains "connecting to...", depending on the client used. Some days I work from home as if I'm sitting in front of my PC at the office.
So I used to boot in Win XP to run mstsc. But the XP partition doesn't boot anymore, no way to fix it, so I need to try the Ubuntu rdp clients.
I even installed a Win XP in a VM (VirtualBox), but now mstsc doesn't connect, it ends due to timeout (as if the Windos Server "knows" I'm not a windows family client)
View 4 Replies
View Related
Jan 26, 2011
I wanna do that like this subject. And I don't have any experiences about KVM. Are there any idea about this.
View 5 Replies
View Related
Jun 25, 2010
I'm runnning Ubuntu 10.04 Desktop, and i need to connect to a Windows 2003 server, i've clicked on places at the top of the screen selected connect to server and put in my detains in all the vairing options and i still cant get on.
if it could be explained that information i need and where i can get it from in XP, i also need to log in then i access it from xp.
View 4 Replies
View Related
Sep 29, 2010
I am a primary school teacher at a school with hardly any money running 50 pcs on windows server 2003. We recieved 2 donated pcs without windows, so thought of installing a free copy of linux on them and then connect them to the server. Which linux version does this best and how would i do this?
View 6 Replies
View Related
Feb 4, 2011
I have a server running slackware 13.1, and it is running windows server 2003 with QEMU-KVM. I followed [URL , now two system can connect each other.
The problem is: I bought two dedicated IPs, and I wanna know how to setup these two system to be Internet Servers.(Nginx in slackware, IIS in 2003) I found some subjects but I can't find what I want.
View 2 Replies
View Related
Apr 14, 2010
At work we are trying to avoid paying for a cert for our outlook owa. I thought of Tiny CA, but can't find a windows variant, it appears to depend on things that would not allow that.
Does anyone know if it is possible to create a Tiny CA Cert and install it on a Windows Server 2003? If not does anyone know of a good free Cert creation utility for Winedoze.
I have a feeling this is going to be another feather in the basket to convince my boss to go Ubunutu.
View 1 Replies
View Related
Jul 12, 2010
I want to share linux folder with Windows server 2003 using cifs;I have install samba on linux system;
View 1 Replies
View Related
Sep 20, 2010
I h ave a samba server which authenticate with MS AD, and this is working fine with XP and etc. But recently we have bought some pc's with Windows7 and when I try to access this share through Windos7
I am getting this error:
Is there any special thing that I need to do on client (windows7) side or server side for this to work?
My systems details:
OS - Red Hat Enterprise Linux Server release 5 (Tikanga)
Kernel - Linux server 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux
Samba - samba-3.0.23c-2
View 4 Replies
View Related
Feb 15, 2009
Does anyone know if it would be possible to do this? I read of people who have run Windows Server 2003 under qemu.. but i was wondering if i could get it easily to work in a secure sandbox, so i could run it as a internet server - knowing that it was secure and no one could then hack my computer.
View 1 Replies
View Related
Jun 23, 2010
we are using LucidLynx Linux, 64-bit,with ActiveDirectory accounts via samba/winbind 64-bit.I have 2 separate 32-bit applications:IBM MQ Toolkit (32-bit java-based) and Acrobat Reader
View 2 Replies
View Related
Dec 29, 2008
I have been able to accomplish my goal of creating an AD-like authentication using LDAP,SAMBA and LAM. From what I have seen you can have this type of setup but it doesn't allow the passing of group policies to the desktops of the users.
View 2 Replies
View Related
Aug 16, 2010
So far I've been able to get Samba to connect to the my WORKGROUP and I can see my Vista PC as well as my 3 hdd's but when I try and open the folder, any folder, C$; D$; or E$ I'm confronted with a user name and
password prompt. No user name or password combination that's associated with either machine, openSUSE or Vista will grant me access. Why am I seeing this prompt and what I would really like to know is can it be
disabled all together? Otherwise, what user name and password does Suse want? Do I need to tell Suse in a terminal a user name and password?
View 3 Replies
View Related
Sep 10, 2009
I am attending college and I am starting my first Linux class tomorrow. I am going to be learning Fedora 8 (why they don't upgrade, is beyond me) anyways, I also have a third Server 2003 class. We have our own hard drives that we put in the school computers. (80gb) But here is the problem, I know normally your suppose to install Windows first and then Fedora second and you do not have a dual boot problem.
However my Server 2003 class was suppose to be on Monday (which was labor day) so I didn't have school. I am going to be installing Fedora tomorrow first thing, then on this next Monday I will be installing Server 2003 on the same hard drive, but Windows will be going on second. So my question is, how would I fix the bootloader so I can still dual boot Fedora and Windows without having to reinstall Fedora again?
View 5 Replies
View Related
Feb 17, 2011
I am trying to backup my CentOS5.5 webserver to our local windows sbs 2003 server in the office. I have set up ssh and cwrsync on the windows server and have confirmed that the linux server can reach the windows server via the command: ssh RemoteUser{AT} It asks for a password and connects fine. However when I run this command to start the backup: rsync -avz -e ssh home/account/public_html/some/small/directory/ remote_user{AT}/cygdrive/c/backup/destination/directory/
I get this error after entering the password: protocol version mismatch -- is your shell clean? PS I had to use {AT} instead of the proper character as the forum thought I was posting a URL
View 9 Replies
View Related
Jul 28, 2010
I am not able to connect samba server from other linux pc giving error: NT Authentication Failure
But am able to access through anonymous login from linux Same is working fine will all smb users through windows. I am using rhel 5.
View 3 Replies
View Related