02-02-2020
Quire right, only many big enterprises use MS... for the active directory, and while at it let MS... rule the DNS also for "security" purpose with MS proxies...
This leads to many fancy bugs when there are misunderstandings between Windows standards and Unix standards...
Is this yet another case?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi!
Very new to unix stuff, and this is my first post to the forum. I'm pretty sure I know enough to know I know nothing, so please be patient with me and don't laugh too hard.
Ok, I've got an old computer and a laptop - the old computer was bought in the mid 90's it's still running windows... (1 Reply)
Discussion started by: boredbody
1 Replies
2. Windows & DOS: Issues & Discussions
Hi,
I am trying to install WIndows 2003 R2 Server on existing Windows 2008 server. When I run the 2003 cd it says no disk found. What can be the problem. (2 Replies)
Discussion started by: gunnervarma
2 Replies
3. UNIX for Dummies Questions & Answers
Sometimes I observe this in gdb:
(gdb) br my_function
Breakpoint .. at 0x...: file ..., line ...
i.e., "my_function" does exist in the current executable.
however, dlsym does not find it:
(gdb) p dlsym(0,"my_function")
$6 = 0
This is a C program; dlsym does find other defined functions and... (2 Replies)
Discussion started by: sds
2 Replies
4. UNIX for Advanced & Expert Users
I'd like to get some opnions on choosing DNS server:
Windows DNS vs Linux BIND comparrsion:
1) managment, easy of use
2) Security
3) features
4) peformance
5) ??
I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies
5. UNIX for Advanced & Expert Users
Hi guys,
please help me get the answers of these questions which I faced in an interview @ Yahoo
1. I want to " ls " few million files, certainly I cannot do so because ls has some restriction in KBs, how can I do it alternatively.
2. Change the system in such a way that while booting up,... (2 Replies)
Discussion started by: gauravsharma29
2 Replies
6. IP Networking
Hey everyone,
Okay, so I've been having some fun with the dig command, and wanted to dig my old school. Two questions came up from this. So I:
dig @8.8.8.8 +recurse njcu.edu ANY
and the result is about 8 records, including the SOA record. One of them is this weird TXT record, and the other is... (1 Reply)
Discussion started by: Lost in Cyberia
1 Replies
7. Hardware
I have read a document which tells me the following 4 things are done by the RAM embedded on disk driver controller. But I don't know what's difference between buffer and cache. Thanks!
RAM on disk drive controllers
1 firmware
2 speed matching buffer
3 prefetching buffer
4 cache (1 Reply)
Discussion started by: 915086731
1 Replies
8. Solaris
I am trying to find the home directory of users on a UNIX (Solaris/AIX) box using
echo ~usernameThis does return the home directory for all valid users. For some reason this command also outputs home directory which are non-existent for few users who seem not to have logon access to that... (31 Replies)
Discussion started by: thinkster
31 Replies
9. Solaris
Hi,
We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using
and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies
chdir(2) System Calls Manual chdir(2)
NAME
chdir, fchdir - Changes the current directory
SYNOPSIS
#include <unistd.h>
int chdir ( const char *path );
int fchdir ( int filedes );
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
chdir(): XSH5.0
fchdir(): XSH5.0
Refer to the standards(5) reference page for more information about industry standards and associated tags.
PARAMETERS
Points to the pathname of the directory. Specifies the file descriptor of the directory.
DESCRIPTION
The chdir() function changes the current directory to the directory indicated by the path parameter.
The fchdir() function changes the current directory to the directory indicated by the filedes parameter. If the path parameter refers to a
symbolic link, thechdir() function sets the current directory to the directory pointed to by the symbolic link.
The current directory, also called the current working directory, is the starting point of searches for pathnames that do not begin with a
/ (slash). In order for a directory to become the current directory, the calling process must have search access to the directory.
NOTES
The current working directory is shared between all threads within the same process. Therefore, one thread using the chdir() or fchdir()
functions will affect every other thread in that process.
RETURN VALUES
Upon successful completion, the chdir() function returns a value of 0 (zero). Otherwise, a value of -1 is returned and errno is set to
indicate the error.
ERRORS
If the chdir() function fails, the current directory remains unchanged and errno may be set to one of the following values: Search access
is denied for any component of the pathname. The path parameter points outside the process's allocated address space. An I/O error
occurred while reading from or writing to the file system. Too many symbolic links were encountered in translating the pathname. The
length of the path argument exceeds PATH_MAX or a pathname component is longer than NAME_MAX.
Pathname resolution of a symbolic link produced an intermediate result whose length exceeds PATH_MAX. The named directory does not
exist, or is an empty string. A component of the path prefix is not a directory.
If the fchdir() function fails, the current directory remains unchanged and errno may be set to one of the following values: The filedes
parameter is not a valid open file descriptor. The file descriptor does not reference a directory.
RELATED INFORMATION
Functions: chroot(2)
Commands: cd(1)
Standards: standards(5) delim off
chdir(2)