CentOS 5 Server :: Cannot Create Groups In Directory Server?
Feb 25, 2010
I have a centos 5.4 64-bit machine. I installed the directory server following those steps.
I then added some users using the Centos Management Consolecentos-idm-console -a http://localhost:3890 &
I have just configured a Directory Server and I have been able to login using the credentials as a Directory Manager on the server.
I am working on the server through VMWare.
After logging into the server, when I am trying to add a user, say "user1" I am unable to do so, in the name of the user name field, all I can see is a "u" and not the complete user name, the same thing happens in case I try to setup a password, so i really don't know whether the password that I am setting up is being accepted or not.
Also while trying to add a user, i can see the logs running in the background on the terminal, that a java program is running as I typing or clicking on any button.
Can someone suggest me what to do to proceed ahead, I know its a strange issue, but I have to do it.
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:
'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:
I have just configured CentOS server my new office. This is the first time I am using CentOS.
Whenever I am trying to change the webroot of the httpd server, it usually say "directory doesn't exist". whereas which can't be the case as it is home directory of the user.
To achieve this, what Do I need to do?
The second issue, I am facing that whenever I am adding new directories to public_html folder, it is not accessible. as the error page 404 is shown. I have changed the permissions to 0705 and ownership is also transferred to other user. What else is required to make new directories accessible by the web?
I installed vsftpd server in one of my servers using "yum install vsftpd" command. NFS server is running in the other server and mounted as "/data" in this FTP server. root in FTP server has also root authority in NFS server. All the files and sub-folders under "/data" in FTP server have 755 or 766 mode. Even I modified vsftpd setting to allow root login.
When I login as root to FTP server with FileZilla client, I can see all the file list in root home directory and move to /data directory. I can download any file in a local HDD but I can not download any file in /data directory.
I already know of a work around to fix this problem, but I guess my question is why is this not working as expected? I am using a Windows Server 2008 R2 Active Directory for authentication.
I have run auth-client-config for the ldap profile and pam-auth-update. When running getent passwd, I get a list of both the local users and the users in the active directory (with populated information in the Unix schema extension). When running getent group I get a list of both the local groups and the groups in the active directory (with populated information in the Unix schema extension).
Interestingly enough, though, when I run su DOMAINUSER, after the prompt for the password I get an authentication error. In /var/log/auth.log I can see an entry with pam_ldap: missing "host" in file "/etc/ldap.conf". The SRV records in the DNS servers resolve correctly. I've checked this with nslookup and I have seen the records within my zone file. Obviously if the ldap.conf file is working with getent and the ldap server is resolving from the SRV records, it is working fine.
The interesting part is that the Windows Server 2008 R2 AD machine shows in the event viewer that there was a successful authentication, yet the Ubuntu box says no. When I add the host within the ldap.conf file, everything works...getent and the actual authentication, either initial login or su.
I try to run in php script.. ================ shell_exec("ssh admin@192.168.1.13 reboot"); =============== in php....I have put the key on server...
i can ssh server without a password.. i got "Could not create directory ssh... " error message from that php script... if i did "ssh admin@192.168.15 reboot" from shell it works ok....
I have CentOS Directory Server running on CentOS 5. I try to add certificate, issued by our CA. I made an certificate request, and I got the certificate. I installed it, but I forgot to install the CA Certificate. Now I got the following error:
i'm using ftp server with RHEL-5.1 now i wish to an anonymous user can create and upload some file on my ftp server...for this i configure the entries in /etc/vsftpd/vsftpd.conf
anonymous_enable=YES # Uncomment this to allow local users to log in. local_enable=YES
i'm using ftp server with RHEL-5.1 now i wish to an anonymous user can create and upload some file on my ftp server... for this i configure the entries in /etc/vsftpd/vsftpd.conf
anonymous_enable=YES # Uncomment this to allow local users to log in. local_enable=YES
1.how to create repository of Server directory which contains rpm files
now i will tell how to create repo and problem is in it
at first i had created one directory in filesystem /data
#mkdir /data now i mounted the ftp server to /mnt #mount 192.168.1.254:/var/ftp/pub/ /mnt and copied directory of Server #cp -r /mnt/Server /data # createrepo -v /root/Server # vim /etc/yum.repos.d/rhel-debuginfo.repo
[Code]....
2.how to install total packages by using repository through yum command what are the steps to update and remove the packages
I am using NIS and I want to replace this with 389 ds. I have installed 389 ds and configured it. I could create user account from 389-console. But it does not create user home directory. Do I have to create user account and user home directory in linux first?
I was installing yum from the server folder. first i copied the server folder in a folder which was at root then i change the current directory to server and then create a repo by using following command
Server]# rpm ivh createrepo then tab to get the correct name then ]# createrepo . ]#cd /etc/yum.repos.d/ ]# cp -apr rhel_debug_info.repo yum.repo ]# vi yum.repo
[Code]...
how can i completely install the yum so that i can install my necessary packages
I'm trying to build a cups server (with cups-pdf) and it's not printing (creating) the PDF output. from cups-pdf log:
Code:
[ERROR] failed to create directory (/home/testuser/PDF) [ERROR] failed to create user output directory (/home/testuser/PDF)
the lp command is being ran from SSH as "testuser", who is in the lpadmin group (as well as sysadmin, users, and about 5 other groups while troubleshooting this) I've tried creating the PDF folder as both the user, and as root but still no output file (when the folder is created the first error goes away, but the user output error remains) *note, the /home directory is a symbolic link to a separate partion (/storage) I'm still a bit green on linux, but the server is headless, and for now i'm just trying to get normal users able to print using cups-pdf
here's my cupsd.conf
Code:
# # # Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a # complete description of this file.
I have proftpd @ Ubuntu 9.04 server. It authenticates users via Auth file, e.g. those are "FTP only" users, not real linux users. Each of them has assigned home dir in the same auth file. They also get Chrooted into it, e.g. default dir is ~ in proftpd.conf They can connect and download files successfully, however, they cannot upload anything or create directory: 550 permission denied error.
When I login via ssh and change user to proftpd user, I can create directories in that particular place, so I guess it's not Linux permissions problem? Or is it? /var/log/daemon.log is the place where proftpd stores its logs, but I cannot find anything relevant there
Is there any way to setup the Centos Directory Server without an internet connection?? i tried using the command: yum install centos-ds
but this just tries to connect to the internet to to download the packages. Is there a site where i can find the package so that i can copy it to my server and install it or is there some other way to do this?
I'm trying currently to connect an Ubuntu-Box (10.04) to our NIS-Server.A few (open-)SUSE-Boxes are working since years with that NIS-Server.The (NIS-)Users can now login to the Ubuntu-Machine, but it seems that the Groups of the NIS-Server aren't imported correctly. I have a NFS-Share which I export from the NIS-Server to all the clients..What can be wrong with the configuration of the ubuntu-machine?
have to create a webhost on an running fedora server which runs multiple webpages + a coldfusion serveri have to add an coldfusion virtual host to these.what i would do:*crate a new user & group*enter vhosts.conf and copy an existing host and modify it for the new one.*create an new folder and copy the main files (phpstarter and webroot) *chown the files for the right useri think an apache graceful would be needet
I'm trying to create some PHP extensions. I have installed php-devel as well as the other preqs I thought were required. However I'm not able to find ext_skel. The file README.EXT_SKEL was installed, but not the actual program (find / -name ext_skel). My understanding was ext_skel was installed with php-devel. I know it is in the source code, but I'm not sure where to get the source for PHP 5.1.6 for my version of CentOS.
I would like to create a customized CentOS server, or it will serve me as a server (postfis) postfixadmin, Hylafax, webmail (Roundcube for example) and may be I would integrate suger crm.
If I create it all this server and it runs perfectly. my goal is I create a compilation or for example I install this distrubution and wonder just some configuration (eg IP address or the time just) knowing that by the end of the installation I find hylafax, postfix , and all AC roundecube install it remains for me to set them up! Taking the example of Elastix cd: www.elastix.org/ or it can make all AC (but its main role is the PABX).
I was trying to create a centos box with xfs partition,how can we install centos enabling the partion with xfs filesystem. rather than doing after installation.
Have been playing with Centos 5 and finally got it installed and have done most of the updates. Before I proceed much further it would be nice if I could create a backup/install disc of how it is now. No Data,just the setup and software used etc.Have a dvd rw on the server.I recall mondo rescue installed years ago on a linux server we used.
creating independent sub-domains on my VPS.To describe this in clear words below is the example:I have a domain named as demo.com and k it as test1.demo.comand i have only one IP address assigned to me, which points to demo.com.So how can i set this sub-domain so that I will serve as a separate entity
After this beeing done, i whant to login with this user via ssh using putty. Do i have to set-up something in centos 5.3 to allow user logins via ssh? With root user i can login without problems.